package com.lancoo.rxretrofitlibrary.exception;

import android.text.TextUtils;

/**
 * Created by tangminglong on 17/8/4.
 */

public class InvalidUrlException extends RuntimeException{
    public InvalidUrlException(String url){
        super("You've configured an invalid url : " + (TextUtils.isEmpty(url) ? "EMPTY_OR_NULL_URL" : url));
    }
}
